Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect code snippet description for just-index #553

Merged
merged 1 commit into from
May 6, 2023

Conversation

palashmon
Copy link
Contributor

Updated the readme file for just-index to reflect that the code snippet throws an error instead of returning undefined, which was originally stated. This change ensures that the code snippet description is accurate and helpful for developers.

Code snippet:

index([], null);	// throws error
index({}, 'id');	// throws error

URL:

@angus-c angus-c merged commit ccba923 into angus-c:master May 6, 2023
@angus-c
Copy link
Owner

angus-c commented May 6, 2023

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants